<%@page import="net.tanesha.recaptcha.ReCaptchaFactory"%>
<%@page import="net.tanesha.recaptcha.ReCaptcha"%>
<%@page import="java.net.InetAddress"%>
<%
String title = "Contact us";
String description = "Show details information about a website for example : alexa, pagerank, whois, ip,  the basic assessment of the site, provide  related to the website you are viewing";
String keywords = "website,site,alexa,google pagerank,pagerank,whois,ip,related site,infomation site";
String[] check = (String[]) request.getAttribute("check");
String success = (String) request.getAttribute("success");
%>

<jsp:include page="/layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
	<jsp:param name="index" value="true"/>
</jsp:include>

		<section id="content">
        	<div id="content_inner">
            	<div class="rotarapes"></div>                
                <div id="leftSideContent">
                	<div id="contactPage">
                        <div class="simpleBox clearafter">
                            <h3 class="title">Contact us</h3>
                            <div class="rotarapes"></div>
                            <p>If you have any questions, or comments and suggestions, please use the form below to contact us. Or you can mail to contact [at] sitesinfo </p>
                            <form method="post" action="" class="whoisForm">
                            	<label>
                                	<span>Your name : </span>
                            		<%=(check[0] != null)?"<p style='color:red;'>"+check[0]+"</p>":"" %>
									<input  type="text" name="name"/>
                                </label>
                                <label>
                                	<span>Your email : </span>
                                	<%=(check[1] != null)?"<p style='color:red;'>"+check[1]+"</p>":"" %>
									<input  type="text" name="email"/>
                                </label>
                                <label>
                                	<span>Your message :</span>
                                	<%=(check[2] != null)?"<p style='color:red;'>"+check[2]+"</p>":"" %>
									<textarea name="message"></textarea>
									<br/>
									<%=(check[3] != null)?"<p style='color:red;'>"+check[3]+"</p>":"" %>
                                </label>
                                <script>
						        	var RecaptchaOptions = { theme : 'clean' };
						  		</script>
								<%
									//6LdXmcISAAAAAHz6FsABghup-EayldUCiKQyDPAk //public
									//6LdXmcISAAAAANPIv5ykGg3LAlBMnUQHzy3-Kiqo //private
						          ReCaptcha c = ReCaptchaFactory.newReCaptcha("6LcF-80SAAAAACucExTAmD8RBzETYxDZ35DkbMVF", "6LcF-80SAAAAAM2kArjyUwtVJYbH_DKredY3Q26U", false);
						          out.print(c.createRecaptchaHtml(null, null));
						        %>
                                <button type="submit">Send message</button>
                            </form>                            
                        </div>
                    </div>
                </div>
                <aside id="rightSideContent">
                	<div class="image-border">
                    	<%@ include file='/adv/left.jsp'%>
                    </div>
                    <div class="rotarapes"></div>
                    <div class="image-border">
                    	<%@ include file='/adv/left.jsp'%>
                    </div>
                </aside>
                <div class="clearbreak"></div>
            </div>
        </section>

<%@ include file='/layout/footer.jsp'%>		